package pkmn.item.itens;

import pkmn.Pokemon;
import pkmn.item.BattleItem;
import pkmn.status.StatusEnum;

public class Antidote implements BattleItem {
    private String description;
    private int price;

    public Antidote(){
        this.description = "A spray-type medicine. It heals one Pokémon from a poisoning.";
        this.price = 100;
    }

    public String getDescription(){
        return this.description;
    }

    public int getPrice(){
        return this.price;
    }

    public void action(Pokemon pokemon){
        if (pokemon.getStatus().equals(StatusEnum.poison)){
            pokemon.removeStatus();
        }else{
            
        }
    }
}
